transform Categorical Variables into Boolean